from sanic import response
from . import app_account
from .login_verify import UserLogin
import asyncio


@app_account.route('/login',methods=["POST"])
async def login_verify(request):

    info=request.form
    phone=info.get('phone')
    password=info.get('password')

    result=await UserLogin().user_login(phone,password)
    return response.json(result)
    


    






        

